package com.ftx.controller.test.lock;

/**
 * Created by fengtingxin on 2020/10/17.
 */
public class MyThread extends Thread {

    private ReentrantLockTest reentrantLockTest;

    public MyThread(ReentrantLockTest reentrantLockTest) {
        super();
        this.reentrantLockTest = reentrantLockTest;
    }

    @Override
    public void run() {
        reentrantLockTest.await();
    }
}
